package br.com.consigsys.util.search;


/**
 * Tipos de filtro de pesquisa
 * 
 * @author fragamarcio
 */
public enum SearchFilterType {
	NO_FILTER(null), 
	EQUALS("equals"), 
	NOT_EQUALS("not_equals"), 
	GREATER_THEN("greater_then"), 
	GREATER_OR_EQUAL("greater_or_equals"), 
	LESS_THEN("less_then"), 
	LESS_OR_EQUAL("less_or_equals"),
	BETWEEN("between"), 
	STARTS_WITH("starts_with"), 
	ENDS_WITH("ends_with"), 
	CONTAINS("contains"), 
	IN("in"),
	NOT_IN("not_in"), 
	IS_NULL("is_null"), 
	IS_NOT_NULL("is_not_null"),
	IS_EMPTY("is_empty"), 
	IS_NOT_EMPTY("is_not_empty");

	private String op;

	private SearchFilterType(String op) {
		this.op = op;
	}

	@Override
	public String toString() {
	
		return op;
	}
	
	public String getValue(){
		return op;
	}
	

}
